package cn.donave.component.org.pojos;

import java.util.List;

import cn.donave.framework.biz.pojos.AbstractPersistent;

public class Role extends AbstractPersistent {
	private String id = null;
	private String name = null;
	private String engCode = null;
	private String sortCode = null;

	private List orgGroups = null;
	private List userToRoles = null;

	public Role() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEngCode() {
		return engCode;
	}

	public void setEngCode(String engCode) {
		this.engCode = engCode;
	}

	public String getSortCode() {
		return sortCode;
	}

	public void setSortCode(String sortCode) {
		this.sortCode = sortCode;
	}

	public List getUserToRoles() {
		return userToRoles;
	}

	public void setUserToRoles(List userToRoles) {
		this.userToRoles = userToRoles;
	}

	public List getOrgGroups() {
		return orgGroups;
	}

	public void setOrgGroups(List orgGroups) {
		this.orgGroups = orgGroups;
	}

}
